The car came dangerously close to hitting the pedestrian.
Машина опасно близко подъехала к пешеходу.
Definitions
In a situation where someone or something is at a high risk of harm or negative consequences, often implying that the proximity to danger is very near or critical.